home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / ShareMailGiftware / Anim2mpegB / SmartScale.doc < prev    next >
Text File  |  2002-10-27  |  2KB  |  51 lines

  1.  
  2. Short:    A CLI/WB program used for gfx conversion scripts & gfx info.
  3. Author:   lombi@iprimus.com.au (Lorence Lombardo)
  4. Uploader: lombi@iprimus.com.au (Lorence Lombardo)
  5. Type:     gfx/conv
  6. Requires: reqtools.library
  7.  
  8.  
  9. SmartScale v1.5a  (C) 1996-2001 Lorence Lombardo.
  10.  
  11. What the #@$% is SmartScale ?
  12.  
  13. SmartScale is a little program I wrote intended for graphic conversion script
  14. files. It has 3 output modes. Con, env & ask. You can even use it just for
  15. graphics info. It will look at a picture or animation and tell you the
  16. dimensions of that picture and output the information to the con or env.
  17. It has internal ILBM support and will use datatypes for other graphic types.
  18. If you enter x & y scale args, the args will be recalculated & output'd in
  19. order to keep the aspect ratio of the picture or animation the same.
  20. You can also scale using the percentage argument instead of X & Y coordinates.
  21. If you use the ask mode you will be asked to enter an X & Y scale or %. 
  22. Ideal for script files. If no file argument is given when in "ask" or "con"
  23. mode a file requestor will be automatically opened. If executed from the
  24. WorkBench or with no parameters information about the selected graphics file
  25. will be displayed in a requestor. You will then have the option of peforming
  26. scale calculations.
  27.  
  28.  
  29. See the following archives on the aminet for example usage of SmartScale:-
  30. Anim2mpegS.lha, Anim2mpegB.lha, Anim2gif.lha, Anim2qt.lha & Mp2anim.lha
  31.  
  32. You may also wish to update these script/progs with this new version of
  33. SmartScale.
  34.  
  35.  
  36.  Usage:
  37.  SmartScale [con/env/ask] [file name] [x scale] [y scale]
  38.                            or
  39.  SmartScale [con/env/ask] [file name] [%] [1-100]
  40.  eg. SmartScale env pic.iff 640 200
  41.                   or
  42.      SmartScale con pic.iff % 50
  43.  
  44.  ENV outputs:
  45.  XIN & YIN input size of picture
  46.  DIN depth of picture
  47.  FT  file type
  48.  XOUT & YOUT calculated size of picture within the [X,Y,% scale] args
  49.              while still maintaining the correct aspect ratio.
  50.  
  51.